@import '~antd/lib/style/themes/default.less';

.imageContainer1 {
  // background-color: aqua;

  width: 74px;
  height: 74px;
  float: left;
  margin-right: 6px;
  /*margin: 0px auto;*/
  .imageBox1 {
    position: relative;
    width: 74px;
    height: 74px;
    border: 1px solid #d9d9d9;
    background-color: #ffffff;
    padding: 4px;
    border-radius: 3px;
    .imageFile1 {
      display: flex;
      flex-direction: column;
      width: 64px;
      height: 64px;
      justify-content: space-around;

      img {
        max-width: 64px;
        max-height: 64px;
      }
    }

    .imageActions1 {
      color: #ffffff;
      background-color: rgba(0, 0, 0, 0);
      opacity: 0;
      position: absolute;
      top: 4px;
      width: 64px;
      height: 64px;
      text-align: center;
      transition-property: background-color;
      transition-duration: 0.3s;
      i {
        margin-top: 26px;
        /*position: absolute;
        left: 38px;
        */
        font-size: 14px;
        cursor: pointer;
      }
      &:hover {
        //opacity: 0.5;
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.5);
      }
    }
  }
}

.smallUploader1 {
  //background-color: aqua;
  span {
    & > :global(.ant-upload-select-picture-card) {
      //background-color: blue;
      width: 30px;
      height: 30px;

      & > :global(.ant-upload) {
        padding: 0px 0px 0px 0px;
      }
    }
    div {
      & > :global(.ant-upload-list-item) {
        width: 50px;
        height: 50px;
      }
    }
  }
}

.imageContainer {
  // background-color: aqua;

  width: 104px;
  height: 104px;
  float: left;
  margin-right: 10px;
  /*margin: 0px auto;*/
  .imageBox {
    position: relative;
    width: 104px;
    height: 104px;
    border: 1px solid #d9d9d9;
    background-color: #ffffff;
    padding: 4px;
    border-radius: 3px;
    .imageFile {
      display: flex;
      flex-direction: column;
      width: 94px;
      height: 94px;
      justify-content: space-around;

      img {
        max-width: 94px;
        max-height: 94px;
      }
    }

    .imageActions {
      color: #ffffff;
      background-color: rgba(0, 0, 0, 0);
      opacity: 0;
      position: absolute;
      top: 4px;
      width: 94px;
      height: 94px;
      text-align: center;
      transition-property: background-color;
      transition-duration: 0.3s;
      i {
        margin-top: 38px;
        /*position: absolute;
        left: 38px;
        */
        font-size: 18px;
        cursor: pointer;
      }
      &:hover {
        //opacity: 0.5;
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.5);
      }
    }
  }
}
.imageInModal {
  padding: 20px 20px 20px 20px;
  //background-color: yellow;
  // span{
  //     & > :global(.ant-upload-select-picture-card){
  //         background-color: blue;
  //       }
  // }
}
.smallUploader {
  //background-color: aqua;
  span {
    & > :global(.ant-upload-select-picture-card) {
      //background-color: blue;
      width: 50px;
      height: 50px;

      & > :global(.ant-upload) {
        padding: 0px 0px 0px 0px;
      }
    }
    div {
      & > :global(.ant-upload-list-item) {
        width: 70px;
        height: 70px;
      }
    }
  }
}
